package com.good.domain.config;

/**
 * 日志
 */
@SuppressWarnings("AlibabaEnumConstantsMustHaveComment")
public enum WebLogEnum {
    WEB_LOGIN("/webadmin/adminuser/", 1, "登录"),
    WEB_MODULE("/webadmin/admin-module/", 2, "菜单管理"),
    WEB_ROLE("/webadmin/admin-role/", 3, "角色管理"),
    WEB_ROLE_MODULE("/webadmin/admin-role-module/", 4, "角色功能管理"),
    WEB_ADVERT("/webadmin/advert/", 5, "广告"),
    WEB_ADVERT_ITEM("/webadmin/advert-item/", 6, "广告素材"),
    WEB_ADVERT_LINK("/webadmin/advert-link/", 7, "广告素材连接"),
    WEB_APP("/webadmin/app/", 8, "版本控制"),
    WEB_BAN("/webadmin/ban/", 9, "账号封禁"),
    WEB_BAN_SORT("/webadmin/ban-sort/", 10, "封禁原因"),
    WEB_BLOG("/webadmin/blog/", 11, "博客"),
    WEB_BLOG_TAG("/webadmin/blogtags/", 12, "博客标签"),
    WEB_CUSTOMER_SERVICE("/webadmin/customer-service/", 14, "客服管理"),
    WEB_FEEDBACK("/webadmin/feedback/", 15, "意见反馈"),
    WEB_FREEZE("/webadmin/freeze/", 16, "账号冻结"),
    WEB_GRADE("/webadmin/grade/", 23, "等级管理"),
    WEB_REPORT("/webadmin/report/", 28, "用户举报"),
    WEB_REPORT_SORT("/webadmin/report-sort/", 29, "举报类型管理"),
    WEB_ITEMS("/webadmin/terms/", 35, "系统条款"),
    WEB_UPLOAD("/upload", 36, "文件上传"),
    WEB_DEL("/del", 37, "文件删除"),
    WEB_USER_AUTHENTICATION("/web-admin/user-authentication/", 39, "实名认证"),
    WEB_USER("/webadmin/user/", 40, "用户管理"),
    WEB_USER_FACE("/webadmin/user-face/", 41, "基础头像"),
    WEB_LOG("/webadmin/admin-log/", 48, "操作日志"),
    BULLETIN("/webadmin/bulletin/", 54, "APP公告");

    private final String url;
    private final int moduleId;
    private final String moduleName;

    WebLogEnum(String url, int moduleId, String moduleName) {
        this.url = url;
        this.moduleId = moduleId;
        this.moduleName = moduleName;
    }

    public String getUrl() {
        return url;
    }

    public int getModuleId() {
        return moduleId;
    }

    public String getModuleName() {
        return moduleName;
    }
}
